package com.yanqu.road.entity.log.cross;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.ServerBaseLog;

@FieldTypeAnnotation(tableName = "t_l_ck_union_trade_send_patrons", desc = "商贸派遣", autoSave = true, uploadCk = true, isCross = true)
public class LogUnionTradeSendPatronsLog extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "商会id", isIndex = true)
    private String unionUid;
    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "路线id")
    private int routeId;
    @FieldTypeAnnotation(desc = "门客id")
    private int patronsId;
    @FieldTypeAnnotation(desc = "门客战力")
    private long patronsEarns;
    @FieldTypeAnnotation(desc = "顺序")
    private int sendOrder;

    public LogUnionTradeSendPatronsLog(String unionUid, long userId, int routeId, int patronsId, long patronsEarns, int sendOrder) {
        this.unionUid = unionUid;
        this.userId = userId;
        this.routeId = routeId;
        this.patronsId = patronsId;
        this.patronsEarns = patronsEarns;
        this.sendOrder = sendOrder;
    }


    public long getUserId() {
        return userId;
    }

}
